package com.mcay.nacos.controller;

import com.mcay.nacos.feignClient.providerFeignClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HelloController {
    @Autowired
    private com.mcay.nacos.feignClient.providerFeignClient providerFeignClient;

    @GetMapping("/nacos/provider/hello")
    public String hello(){
        return providerFeignClient.hello();
    }
}
